function Displayer(id_div)
{
	this.divId = id_div;
	this.ids = new Array();
	this.idIndex = 0;
	this.addId = addId;
	this.display = display;
}

function addId(id)
{
	this.ids[this.idIndex] = id;
	this.idIndex++;
}

function display(id)
{
	for(var i = 0; i < this.idIndex; i++)
	{
		document.getElementById(this.ids[i]).style.display = "none";
	}
	document.getElementById(id).style.display = "";
	document.getElementById(this.divId).style.display = "";
}
